import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class Toro here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Toro extends Personaje
{
    /**
     * Act - do whatever the Toro wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        if(Greenfoot.isKeyDown("right"))
        {
            move(10);
            this.setImage("toro1.png");
            Greenfoot.delay(2);
            this.setImage("toro2.png");
            Greenfoot.delay(2);
            this.setImage("toro3.png");
            Greenfoot.delay(2);
            this.setImage("toro5.png");
            Greenfoot.delay(2);
            this.setImage("toro6.png");
            Greenfoot.delay(2);
            this.setImage("toro.png");
            
        }
        // A
    }    
}
